interface PathConfig{
    isTest : boolean
    clientProjectPath : string,
    designProjectPath :  string,
    outScriptPath : string,
    outDataPath : string
}
let path_config :PathConfig

try {
    path_config = require("./PathConfig")
}
catch (e) {
    path_config = require("./PathConfigBak").default
}
// 工程根路径
let projectRoot =  __dirname.replace("/dist/","/src/") + "/../"

let excelConfig =  {
    projectRoot : projectRoot,
    configPath : path_config.designProjectPath,
    tempProjectRoot : projectRoot + "../temp/",
    isTest : path_config.isTest,
    startIndex : 5,
    language : "ts",
    outScriptPath : path_config.outScriptPath,
    outDataPath : path_config.outDataPath
}
export default excelConfig

